package com.senven.payorder.mapper;

import com.senven.common.entity.Branch;
import com.senven.common.entity.PayOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.senven.common.entity.ShoppingTrolley;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zsy
 * @since 2022-09-05
 */
@Mapper
public interface PayOrderMapper extends BaseMapper<PayOrder> {

    List<PayOrder> selectAll(String uid);

    List<Branch> selectBranchName(String uid);

    Integer selectSum(String uid);

    List<ShoppingTrolley> getCat(Integer branchid,Integer goodsid);

    Integer updatePoId(Integer poId);

}
